package com.xiexin.group.domain;

import com.xiexin.common.annotation.Excel;
import com.xiexin.common.core.domain.BaseEntity;

/**
 * 产品和组的中间对象 item_and_group
 * 
 * @author xiexin
 * @date 2022-03-21
 */
public class ItemAndGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 组编号 */
    @Excel(name = "组编号")
    private Integer groupId;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private Integer itemId;

    /** 中间表id */
    private Integer id;

    public void setGroupId(Integer groupId) 
    {
        this.groupId = groupId;
    }

    public Integer getGroupId() 
    {
        return groupId;
    }
    public void setItemId(Integer itemId) 
    {
        this.itemId = itemId;
    }

    public Integer getItemId() 
    {
        return itemId;
    }
    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return "ItemAndGroup{" +
                "groupId=" + groupId +
                ", itemId=" + itemId +
                ", id=" + id +
                '}';
    }
}
